@import './header.scss';
@import './footer.scss';

main{
    width: 100%;
    background: #f2f2f2;
    .main{
        width: 1150px;
        margin: 0 auto;
        .go-home{
            font-size: 16px;
            position: relative;
            padding-top: 24px;
            padding-bottom: 20px;
            ul li a{
                color: #333;
            }
        }
        .head{
            line-height: 1.15;
            margin-top: 20px;
            height: 42px;
            .label{
                width: 200px;
                border-bottom: 4px solid #cdcdcd;
                float: left;
                position: relative;
                text-align: center;
                line-height: 42px;
                color: #ccc;
                font-size: 16px;
                .span{
                    position: absolute;
                    left: 30px;
                    top: 11px;
                    background-image: url(/img/spirit-3.png);
                    background-position: -248px -120px;
                    width: 20px;
                    height: 20px;
                }
            }
            .active{
                color: #f35356;
                border-bottom: 4px solid #f35356;
                .span{
                    background-image: url(/img/spirit-3.png);
                    background-position: -226px -120px;
                }
            }
        }
        .address{
            width: 1150px;
            margin: 0 auto;
            background: #f9f9f9;
            min-height: 275px;
            margin-top: 24px;
            h4{
                font-size: 16px;
                color: #f35356;
                margin-left: 5%;
                padding-top: 22px;
                font-weight: normal;
                .tips{
                    font-size: 12px;
                    color: #999;
                    font-weight: normal;
                }
            }
            .address-list{
                display: none;
                margin: 0 5%;
                width: 1035px;
                min-height: 20px;
                margin-top: 20px;
                padding: 0 5%;
                border-collapse: collapse;
                text-align: center;
                tbody{
                    .edit,.del{
                        cursor: pointer;
                    }
                    input{
                        margin-left: 40px;
                        height: 25px;
                        line-height: 25px;
                        outline: none;
                        border: 0;
                        border: 1px solid powderblue;
                        padding-left: 15px;
                    }
                    .check{
                        display: inline-block;
                        margin-left: 0px;
                    }
                    .suname{
                        width: 60px;
                    }
                    .suaddress{
                        width: 300px;
                    }
                    .sutele{
                        width: 120px;
                    }
                    .span-name{
                        width: 60px;
                    }
                    .span-address{
                        width: 300px;
                    }
                    .span-tele{
                        width: 120px;
                    }
                    span{
                        display: inline-block;
                    }
                    .suinput{
                        display: none;
                    }
                    i{
                        display: none;
                    }
                    .edit{
                        span{
                            display: none;
                        }
                        .suinput,i{
                            display: block;
                        }
                    }
                }
            }
            .add-site{
                margin-top: 20px;
                margin-left: 6%;
                line-height: 38px;
                text-align: center;
                cursor: pointer;
                width: 160px;
                height: 38px;
                border: 1px solid #cdcdcd;
                font-size: 14px;
                margin-bottom: 15px;
            }
            .address-bottom{
                border-top: 1px solid #f5f5f5;
                padding-bottom: 28px;
                h4{
                    font-size: 16px;
                    color: #f35356;
                    margin-left: 5%;
                    padding-top: 22px;
                    font-weight: normal;
                }
                p{
                    margin-top: 25px;
                    margin-left: 7%;
                    font-size: 14px;
                    color: #666;
                    span{
                        margin-left: 19px;
                        color: #6b727a;
                    }
                }

            }
        }
        .section{
            width: 1150px;
            margin: 0 auto;
            background: #f9f9f9;
            min-height: 460px;
            margin-top: 24px;
            .title{
                padding-left: 5%;
                height: 54px;
                background: #f9f9f9;
                color: #f35356;
                font-size: 16px;
                line-height: 54px;
            }
            .top-bar{
                border-top: 1px solid #f5f5f5;
                padding: 0 3%;
                background: #f9f9f9;
                height: 54px;
                ul {
                    li {
                        height: 54px;
                        line-height: 54px;
                        font-size: 15px;
                        color: #666;
                        float: left;
                    }
                    .bar-02{
                        width: 51%;
                        padding-left: 4%;
                    }
                    .bar-03{
                        width: 20%;
                    }
                    .bar-04{
                        width: 17%;
                    }
                    .var-05{
                        width: 8%;
                    }
                }
            }
            .good-list{
                background: #f9f9f9;
                padding: 0 3%;
                border-top: 1px solid #f5f5f5;
                ul{
                    height: 133px;
                    li{
                        height: 133px;
                        line-height: 133px;
                        float: left;
                    }
                    .goods{
                        padding-top: 18px;
                        height: 115px;
                        padding-left: 4%;
                        width: 51%;
                        .left{
                            float: left;
                            width: 104px;
                            height: 96px;
                            img{
                                float: left;
                                width: 104px;
                                height: 96px;
                            }
                        }
                        .right{
                            float: left;
                            line-height: 20px;
                            margin-left: 18px;
                            position: relative;
                            h4{
                                width: 200px;
                                overflow: hidden;
                                white-space: nowrap;
                                text-overflow: ellipsis;
                                margin-top: 4px;
                                font-size: 15px;
                                font-weight: normal;
                                a{
                                    color: #666;
                                }
                            }
                            p{
                                font-size: 14px;
                                color: #666;
                                position: absolute;
                                width: 200px;
                            }
                            .attr-0{
                                margin-top: 10px;
                            }

                        }
                    }
                    .prices{
                        color: #333;
                        font-size: 15px;
                        width: 21%;
                    }
                    .numbers{
                        position: relative;
                        color: #666;
                        width: 11%;
                    }
                    .total{
                        font-size: 15px;
                        color: #f35356;
                        width: 13%;
                        text-align: center;
                    }
                }
            }
            .balance{
                background: #f9f9f9;
                position: relative;
                color: #666;
                padding-top: 25px;
                font-size: 15px;
                .balanceContainer{
                    float: right;
                    margin-right: 4%;
                    .item{
                        position: relative;
                        margin-bottom: 12px;
                        text-align: right;
                    }
                    .priceDetail{
                        padding-right: 120px;
                        .total-goods{
                            position: initial;
                            right: initial;
                            color: #f35356;
                        }
                        &>span{
                            position: absolute;
                            right: 0;
                        }
                    }
                    .money{
                        color: #666;
                        font-size: 16px;
                        margin-bottom: 14px;
                    }
                    .options{
                        .go-pay{
                            border: 0;
                            outline: none;
                            width: 170px;
                            height: 58px;
                            color: #fff;
                            cursor: pointer;
                            margin-left: 23px;
                            font-size: 20px;
                            background: #f35356;
                        }
                    }

                }
            }
        }
    }
}
//  模态框样式
.add-ar{
    height: 38px;
    outline: none;
    border: none;
    line-height: 38px;
    background: #fff;
    border: 1px solid #eaeaea;
    display: block;
    padding-left: 11px;
    margin-bottom: 14px;
    color: #333;
    width: 249px;
}
.sh-site{
    width: 452px;
}